package com.langChain4j.model.factory;

import com.langChain4j.api.vo.AgentChatVo;
import reactor.core.publisher.Flux;

/**
 * @author linjun
 * @date 2025/8/20 16:59
 * @description
 */
public interface AgentLoader {

    /**
     * 聊天
     *
     * @param chatVo
     */
    String chat(AgentChatVo chatVo);

    /**
     * @Description: 流式聊天
     * @Param: chatVo
     * @return:
     * @Author: linjun
     * @Date: 2025/8/22 17:39
     */
    default Flux<String> streamChat(AgentChatVo chatVo) {
        return null;
    }

}
